home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Mouse Options 4.xpl < prev    next >
Text File  |  2001-11-17  |  960b  |  42 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="2"
  3. "COUNT"="1"
  4. "UIPATH 1"="Hardware\Mouse\General Options"
  5. "NAME"="Double Click Speed"
  6. "VERSION"="1.03"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Speed"
  9. "TEXT 2"="Height"
  10. "DESCRIPTION 1"="This controls the double-click speed. Higher values mean slower double-click speeds. Lower values mean faster double-click speeds."
  11. "DESCRIPTION 2"="To default value is 500."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=""
  16. "COMMENT 2"=""
  17.  
  18.  
  19. sV1="HKCU\Control Panel\Mouse\DoubleClickSpeed"
  20.  
  21.  
  22. SUB Plugin_Initialize
  23.  i=RegReadValue(sV1)
  24.  SetUIElement 1,i
  25.  
  26. END SUB
  27.  
  28. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  29.  s=GetUIElement(1)
  30.  if len(s)>0 then
  31.     Call RegWriteValue(sV1,s,1)
  32.  else
  33.     if RegValueExists(sV1) then
  34.        Call RegDeleteValue(sV1)
  35.     end if
  36.  end if
  37.  
  38. END SUB
  39.  
  40. SUB Plugin_Terminate
  41. END SUB
  42.